package com.yuelife.market.service;

import com.alipay.api.AlipayApiException;
import com.yuelife.market.entity.MOrder;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface AlipayService {

    /**
     * 支付宝支付调用接口
     * @throws IOException
     */
    String  aliPay(MOrder mOrder) throws AlipayApiException;

    void zfbOrderPay(HttpServletResponse response, HttpServletRequest request, MOrder mOrder)throws IOException,AlipayApiException;
}


